<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>{$title|default="页面标题"}</title>
    <!-- 使用load标签加载资源文件 -->
    {load href="/static/css/bootstrap.css" /}
</head>
<body>
<div class="container">

    <div class="row">

        <div class="col-md-4">
        </div>
        <div class="col-md-4">
            <div class="page-header text-center">
                <h3>管理员登录</h3>
            </div>
            <form class="form-horizontal"
                  action="{:url('checkLogin')}" method="post">
                <div class="form-group">
                    <label for="inputEmail3" class="col-sm-2 control-label">邮箱:</label>
                    <div class="col-sm-10">
                        <input type="email" name="email" class="form-control" id="inputEmail3" placeholder="Email">
                    </div>
                </div>
                <div class="form-group">
                    <label for="inputPassword3" class="col-sm-2 control-label">密码:</label>
                    <div class="col-sm-10">
                        <input type="password" name="password" class="form-control" id="inputPassword3" placeholder="Password">
                    </div>
                </div>

                <div class="form-group">
                    <div class="col-sm-offset-2 col-sm-10">
                        <button type="submit" class="btn btn-primary btn-block">登录</button>
                    </div>
                </div>
            </form>

        </div>
        <div class="col-md-4">

        </div>
    </div>
</div>
{load href="https://code.jquery.com/jquery-3.3.1.min.js" /}
{load href="/static/js/bootstrap.js" /}
{load href="/static/nicedit/nicEdit.js" /}
</body>
</html>